package com.yhd.cloudmanage.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 活动参与人信息表Entity类
 *
 * @author liyan
 * @since 2020-06-11 15:54:29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("activity_person_info")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="ActivityPersonInfo对象", description="活动参与人信息表")
public class ActivityPersonInfo implements Serializable {

    private static final long serialVersionUID=1L;


    @ApiModelProperty(value = "自增主键")
        @TableId(value = "activity_person_info_id", type = IdType.AUTO)
                    private Integer activityPersonInfoId;

    @ApiModelProperty(value = "用户ID")
    @TableField("user_id")
            private Integer userId;

    @ApiModelProperty(value = "是否加入。1：是 2：否 ，默认为1")
    @TableField("join_status")
            private Boolean joinStatus;

    @ApiModelProperty(value = "逻辑删除。0：删除。1：未删除")
    @TableField("delete_flag")
            private Boolean deleteFlag;

    @ApiModelProperty(value = "创建人ID")
    @TableField("create_by_id")
            private Integer createById;

    @ApiModelProperty(value = "更新人ID")
    @TableField("update_by_id")
            private Integer updateById;

    @TableField("create_time")
            private LocalDateTime createTime;

    @TableField("update_time")
            private LocalDateTime updateTime;
}
